------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/lemon/Desktop/cheater/4_study1.log
  log type:  text
 opened on:  30 Nov 2024, 13:48:55

. 
.         //Calculate correct response rates (percent values when "correct"=1) for each task
.         insheet using study1_all_tasks.csv, clear
(10 vars, 306 obs)

.         tabulate correct if task=="student"

    correct |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |        101       99.02       99.02
          1 |          1        0.98      100.00
------------+-----------------------------------
      Total |        102      100.00

.         tabulate correct if task=="voice"

    correct |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         58       56.31       56.31
          1 |         45       43.69      100.00
------------+-----------------------------------
      Total |        103      100.00

.         tabulate correct if task=="ideology"

    correct |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         88       87.13       87.13
          1 |         13       12.87      100.00
------------+-----------------------------------
      Total |        101      100.00

. 
.         //Chi-Suqared Tests of correct response rates between the voice task and the student d
> ocument task
.         insheet using study1_voice_student.csv, clear
(10 vars, 205 obs)

.         tabulate task correct, chi2

           |        correct
      task |         0          1 |     Total
-----------+----------------------+----------
   cheater |        58         45 |       103 
   student |       101          1 |       102 
-----------+----------------------+----------
     Total |       159         46 |       205 

          Pearson chi2(1) =  53.7123   Pr = 0.000

. 
.         //Chi-Suqared Tests of correct response rates between the voice task and the ideology 
> task
.         insheet using study1_voice_ideology.csv, clear
(10 vars, 204 obs)

.         tabulate task correct, chi2

           |        correct
      task |         0          1 |     Total
-----------+----------------------+----------
   cheater |        58         45 |       103 
  ideology |        88         13 |       101 
-----------+----------------------+----------
     Total |       146         58 |       204 

          Pearson chi2(1) =  23.8022   Pr = 0.000

. 
. log close
      name:  <unnamed>
       log:  /Users/lemon/Desktop/cheater/4_study1.log
  log type:  text
 closed on:  30 Nov 2024, 13:48:55
------------------------------------------------------------------------------------------------
